package innerclass;

 class MNA {
    private  void f(){

    }
    class A{
        private void g(){

        }
        public class  B{
            void h(){
                g();
                f();
            }
        }
    }
}

public class MNestingAccess{
    public static void main(String[] args) {
        MNA mna=new MNA();
        MNA.A mnaa=mna.new A();//对象A
        MNA.A.B mnaaa=mnaa.new B();//对象B
        mnaaa.h();
    }
}